package com.ali.spring.security.oauth2.server.mapper;

import com.ali.spring.security.oauth2.server.domain.TbPermission;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.MyMapper;

import java.util.List;


/**
 * @author :ali
 * @date   :2020/1/26 18:55
 * @description：${description}
 * @modified By:
 * @version: 1.0.0
 */

public interface TbPermissionMapper extends MyMapper<TbPermission> {
    /**
     * 根据id查询
     * @param id
     * @return
     */
    List<TbPermission> selectByUserId(@Param("id") Long id);
}